<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP useBean</title>
</head>
<body>

	<jsp:include page="/jspdemo/header.jsp" />

	<jsp:useBean id="student" class="com.jqb.jsplab.vo.Student" />
	<jsp:setProperty name="student" property="id" value="19" />
	<jsp:setProperty name="student" property="name" value="jqb" />

	<table border="1" cellspacing="0">
		<tr>
			<td colspan="2">JSP useBean</td>
		</tr>
		<tr>
			<td>id:</td>
			<td><jsp:getProperty name="student" property="id" /></td>
		</tr>
		<tr>
			<td>name:</td>
			<td><jsp:getProperty name="student" property="name" /></td>
		</tr>

	</table>




</body>
</html>